.class Lcom/direction/hold/ui/SearchActivity$7;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnLongClickListener;


# instance fields
.field private synthetic a:I

.field private synthetic b:Lcom/direction/hold/ui/SearchActivity;


# direct methods
.method constructor <init>(Lcom/direction/hold/ui/SearchActivity;I)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    iput p2, p0, Lcom/direction/hold/ui/SearchActivity$7;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private a(Ljava/lang/Integer;Z)V
    .locals 6

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    const v1, 0x7f08008c

    const-string v2, "folder"

    const v3, 0x7f04000d

    const/4 v4, 0x0

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Lcom/direction/hold/ui/SearchActivity;->a(ILjava/lang/String;IIZ)V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    const v1, 0x7f08000a

    const-string v2, "image"

    const v3, 0x7f04000e

    const/4 v4, 0x1

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Lcom/direction/hold/ui/SearchActivity;->a(ILjava/lang/String;IIZ)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    const v1, 0x7f08008d

    const-string v2, "audio"

    const v3, 0x7f04000f

    const/4 v4, 0x2

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Lcom/direction/hold/ui/SearchActivity;->a(ILjava/lang/String;IIZ)V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    const v1, 0x7f08000b

    const-string v2, "video"

    const v3, 0x7f040010

    const/4 v4, 0x3

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Lcom/direction/hold/ui/SearchActivity;->a(ILjava/lang/String;IIZ)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    const v1, 0x7f08000d

    const-string v2, "apk"

    const v3, 0x7f040011

    const/4 v4, 0x4

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Lcom/direction/hold/ui/SearchActivity;->a(ILjava/lang/String;IIZ)V

    goto :goto_0

    :sswitch_5
    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    const v1, 0x7f08008e

    const-string v2, "doc"

    const v3, 0x7f040012

    const/4 v4, 0x5

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Lcom/direction/hold/ui/SearchActivity;->a(ILjava/lang/String;IIZ)V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f08000a -> :sswitch_1
        0x7f08000b -> :sswitch_3
        0x7f08000d -> :sswitch_4
        0x7f08008c -> :sswitch_0
        0x7f08008d -> :sswitch_2
        0x7f08008e -> :sswitch_5
    .end sparse-switch
.end method


# virtual methods
.method public onLongClick(Landroid/view/View;)Z
    .locals 4

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    new-instance v1, Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    iget-object v2, v2, Lcom/direction/hold/ui/SearchActivity;->H:Ljava/util/List;

    invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    iput-object v1, v0, Lcom/direction/hold/ui/SearchActivity;->I:Ljava/util/List;

    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/SearchActivity;->I:Ljava/util/List;

    iget-object v1, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/SearchActivity;->I:Ljava/util/List;

    iget v2, p0, Lcom/direction/hold/ui/SearchActivity$7;->a:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->lastIndexOf(Ljava/lang/Object;)I

    move-result v1

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    iget v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->a:I

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-direct {p0, v0, v3}, Lcom/direction/hold/ui/SearchActivity$7;->a(Ljava/lang/Integer;Z)V

    iget-object v0, p0, Lcom/direction/hold/ui/SearchActivity$7;->b:Lcom/direction/hold/ui/SearchActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/SearchActivity;->I:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    const/4 v2, 0x0

    invoke-direct {p0, v0, v2}, Lcom/direction/hold/ui/SearchActivity$7;->a(Ljava/lang/Integer;Z)V

    goto :goto_0

    :cond_0
    return v3
.end method
